<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	<h1>Add User</h1>
	<form action="<%= request.getContextPath() %>/user" method="post">
	<!-- Form表单渲染时, 设置从服务端获取到的token -->
	<!-- 2. Form表单提交时，同服务端提供的token一起提交 -->
	<input name="token" type="hidden" value="${token }" /> 
	Name: <input name="name" /><br />
	Age: <input name="age" type="number" />
	<p />
	<button type="submit">Save</button>
	
	</form>

</body>
</html>